<?
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>


    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" type="text/css" href="css/carousel/tango/skin.css"/>
        <link rel="stylesheet" type="text/css" href="css/rgenerales.css"/>
        <link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.12.custom.css"/>
        <link rel="stylesheet" type="text/css" href="css/index.css"/>
        <!--[if IE]>
        <link rel="stylesheet" type="text/css" href="css/explorer8.css"/>
        <![endif]-->
        <!--script type="text/javascript" src="js/jquery/jquery-1.4.4.js"></script-->
        <script type="text/javascript" src="js/jquery/jquery-1.6.1.js"></script>
        <script type="text/javascript" src="js/jquery/jquery-ui-1.8.10.custom.min.js"></script>
        <script type="text/javascript" src="js/jquery-plugins/jquery.jcarousel.min.js"></script>
        <script type="text/javascript" src="js/jquery/jquery.ui.datepicker-es.js"></script>
        <script type="text/javascript" src="js/funciones.js"></script>

        <title>Senillosa House</title>
     </head>
    <body>

        <div style="margin-top:32px;margin-left:1078px;">
                <a id="english" href="#"><img src="/images/ing.png" alt=""></a>
                <a id="espanol" href="#"><img src="/images/esp.png" alt=""></a>
        </div>

        <div id="cuerpo">

            <? include ("includes/home.php")
                            ?>
        </div>

            <div class="botonera">

                <div id="logo">
                    <img src="images/logo.png" alt="">
                </div>
                <div id="botones">
                    <div class="wrap">
                        <div style="height:16px;"></div>
                        <div id="home" class="franja" style="padding-bottom:10px;">
                        <!--div id="home" class="franja" style="padding-top:14px;padding-bottom:10px"-->
                            <div style="height:7px;"></div>
                            <a id="ahome" href="#">
                                <?php
                                    if($_SESSION['lang']=="eng"){
                                ?>
                                    <img src="images/home_en.png" alt="">

                                <?}else{?>
                                    <img src="images/home.png" alt="">
                                <?}?>
                            </a>
                        </div>
                        <div id="galeria" class="boton">
                            <a id="agaleria" href="#">
                            <?php
                                if($_SESSION['lang']=="eng"){
                            ?>
                                <img src="images/galeria_en.png" alt="">

                            <?}else{?>
                                <img src="images/galeria.png" alt="">
                            <?}?>
                            </a>
                        </div>
                        <div id="ubicacion" class="boton">
                            <a id="aubicacion" href="#">
                                <?php
                                if($_SESSION['lang']=="eng"){
                            ?>
                                <img src="images/ubicación_en.png" alt="">

                            <?}else{?>
                                <img src="images/ubicación.png" alt="">
                            <?}?>
                             </a>
                        </div>
                        <div id="servicios" class="boton">
                            <a id="aservicios" href="#">
                            <?php
                            if($_SESSION['lang']=="eng"){
                        ?>
                            <img src="images/servicios_en.png" alt="">

                        <?}else{?>
                            <img src="images/servicios.png" alt="">
                        <?}?>

                            </a>
                        </div>
                        <div id="reserve" class="boton" style="height:44px;">
                            <a id="areserve" href="#">
                            <?php
                            if($_SESSION['lang']=="eng"){
                        ?>
                            <img src="images/reserve_en.png" alt="">

                        <?}else{?>
                            <img src="images/reserve.png" alt="">
                        <?}?>

                            </a>
                        </div>
                        <div id="contacto" class="boton">
                            <a id="acontacto" href="#">
                            <?php
                            if($_SESSION['lang']=="eng"){
                        ?>
                            <img src="images/contacto_en.png" alt="">

                        <?}else{?>
                            <img src="images/contacto.png" alt="">
                        <?}?>
                           </a>
                        </div>
                            <div class="boton">
                            <img src="images/espacio-para-reservas-y-promociones.png" alt="">
                        </div>
                     </div>
                </div>
            </div>
    </body>

<script language="JavaScript">
    var lang;
    $(window).ready(function() {

        lang = '<? echo $_SESSION['lang']?>'
    })

    function inicializarDatePicker(){

        if(lang=='eng'){

            $( "#reservaFrom").datepicker($.datepicker.regional['']);
            $( "#reservaTo").datepicker($.datepicker.regional['']);
        }
        else{
            $( "#reservaFrom").datepicker($.datepicker.regional['es']);
            $( "#reservaTo").datepicker($.datepicker.regional['es']);
        }
    }

</script>
</html>